//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by FernFlower decompiler)
//

package com.planw.beetl;

import com.intellij.openapi.actionSystem.AnAction;
import com.intellij.openapi.actionSystem.AnActionEvent;
import com.intellij.openapi.actionSystem.PlatformDataKeys;
import com.intellij.openapi.project.Project;
import com.intellij.openapi.ui.Messages;

public class MsgBox extends AnAction {
  public MsgBox() {
  }

  @Override
  public void actionPerformed(AnActionEvent e) {
    // 在代码中检查是否启用了安全管理器
    if (System.getSecurityManager() != null) {
      System.out.println("SecurityManager is enabled");
    }
    Project project = (Project)e.getData(PlatformDataKeys.PROJECT);
    String title = "标题";
    String msg = "2018,起航";
    Messages.showMessageDialog(project, msg, title, Messages.getInformationIcon());
  }
}
